namespace CSharpPro._0918;

public class Phone
{
        public string Brand { get; set; }
        public int Weight { get; set; }
        public long CameraPixel { get; set; }
        public int Price { get; set; }
        public void PrintPhoneInfo()
        {
            Console.WriteLine("============= 手机信息 =============");
            Console.WriteLine($"品牌(brand)：{Brand}");
            Console.WriteLine($"重量(weight)：{Weight}g");
            Console.WriteLine($"后置摄像头像素(camera)：{CameraPixel:N0}"); 
            Console.WriteLine($"价格(price)：{Price}元");
            Console.WriteLine("=====================================");
        }
}